import matplotlib.pyplot as plt
import numpy as np

# Generate sample data
x = np.random.rand(50)  # 50 random numbers between 0 and 1
y = np.random.rand(50)  # 50 random numbers between 0 and 1

# Create a scatter plot
plt.scatter(x, y)

# Add labels and title
plt.xlabel("X-axis")
plt.ylabel("Y-axis")
plt.title("Scatter Plot Example")

# Display the plot
plt.show()
